﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020009C5 RID: 2501
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class KBFEOIAJLJC : IMessage<KBFEOIAJLJC>, IMessage, IEquatable<KBFEOIAJLJC>, IDeepCloneable<KBFEOIAJLJC>, IBufferMessage
	{
		// Token: 0x17001FA6 RID: 8102
		// (get) Token: 0x06007023 RID: 28707 RVA: 0x0012C534 File Offset: 0x0012A734
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<KBFEOIAJLJC> Parser
		{
			get
			{
				return KBFEOIAJLJC._parser;
			}
		}

		// Token: 0x17001FA7 RID: 8103
		// (get) Token: 0x06007024 RID: 28708 RVA: 0x0012C53B File Offset: 0x0012A73B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return KBFEOIAJLJCReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17001FA8 RID: 8104
		// (get) Token: 0x06007025 RID: 28709 RVA: 0x0012C54D File Offset: 0x0012A74D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return KBFEOIAJLJC.Descriptor;
			}
		}

		// Token: 0x06007026 RID: 28710 RVA: 0x0012C554 File Offset: 0x0012A754
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KBFEOIAJLJC()
		{
		}

		// Token: 0x06007027 RID: 28711 RVA: 0x0012C55C File Offset: 0x0012A75C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KBFEOIAJLJC(KBFEOIAJLJC other) : this()
		{
			this.skillId_ = other.skillId_;
			this.mOCKIOPKEKE_ = other.mOCKIOPKEKE_;
			this.level_ = other.level_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x06007028 RID: 28712 RVA: 0x0012C599 File Offset: 0x0012A799
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public KBFEOIAJLJC Clone()
		{
			return new KBFEOIAJLJC(this);
		}

		// Token: 0x17001FA9 RID: 8105
		// (get) Token: 0x06007029 RID: 28713 RVA: 0x0012C5A1 File Offset: 0x0012A7A1
		// (set) Token: 0x0600702A RID: 28714 RVA: 0x0012C5A9 File Offset: 0x0012A7A9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint SkillId
		{
			get
			{
				return this.skillId_;
			}
			set
			{
				this.skillId_ = value;
			}
		}

		// Token: 0x17001FAA RID: 8106
		// (get) Token: 0x0600702B RID: 28715 RVA: 0x0012C5B2 File Offset: 0x0012A7B2
		// (set) Token: 0x0600702C RID: 28716 RVA: 0x0012C5BA File Offset: 0x0012A7BA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint MOCKIOPKEKE
		{
			get
			{
				return this.mOCKIOPKEKE_;
			}
			set
			{
				this.mOCKIOPKEKE_ = value;
			}
		}

		// Token: 0x17001FAB RID: 8107
		// (get) Token: 0x0600702D RID: 28717 RVA: 0x0012C5C3 File Offset: 0x0012A7C3
		// (set) Token: 0x0600702E RID: 28718 RVA: 0x0012C5CB File Offset: 0x0012A7CB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Level
		{
			get
			{
				return this.level_;
			}
			set
			{
				this.level_ = value;
			}
		}

		// Token: 0x0600702F RID: 28719 RVA: 0x0012C5D4 File Offset: 0x0012A7D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as KBFEOIAJLJC);
		}

		// Token: 0x06007030 RID: 28720 RVA: 0x0012C5E4 File Offset: 0x0012A7E4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(KBFEOIAJLJC other)
		{
			return other != null && (other == this || (this.SkillId == other.SkillId && this.MOCKIOPKEKE == other.MOCKIOPKEKE && this.Level == other.Level && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x06007031 RID: 28721 RVA: 0x0012C640 File Offset: 0x0012A840
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.SkillId != 0U)
			{
				num ^= this.SkillId.GetHashCode();
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				num ^= this.MOCKIOPKEKE.GetHashCode();
			}
			if (this.Level != 0U)
			{
				num ^= this.Level.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x06007032 RID: 28722 RVA: 0x0012C6B1 File Offset: 0x0012A8B1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x06007033 RID: 28723 RVA: 0x0012C6B9 File Offset: 0x0012A8B9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x06007034 RID: 28724 RVA: 0x0012C6C4 File Offset: 0x0012A8C4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.MOCKIOPKEKE != 0U)
			{
				output.WriteRawTag(48);
				output.WriteUInt32(this.MOCKIOPKEKE);
			}
			if (this.Level != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Level);
			}
			if (this.SkillId != 0U)
			{
				output.WriteRawTag(112);
				output.WriteUInt32(this.SkillId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x06007035 RID: 28725 RVA: 0x0012C73C File Offset: 0x0012A93C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.SkillId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.SkillId);
			}
			if (this.MOCKIOPKEKE != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.MOCKIOPKEKE);
			}
			if (this.Level != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Level);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x06007036 RID: 28726 RVA: 0x0012C7AC File Offset: 0x0012A9AC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(KBFEOIAJLJC other)
		{
			if (other == null)
			{
				return;
			}
			if (other.SkillId != 0U)
			{
				this.SkillId = other.SkillId;
			}
			if (other.MOCKIOPKEKE != 0U)
			{
				this.MOCKIOPKEKE = other.MOCKIOPKEKE;
			}
			if (other.Level != 0U)
			{
				this.Level = other.Level;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x06007037 RID: 28727 RVA: 0x0012C810 File Offset: 0x0012AA10
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x06007038 RID: 28728 RVA: 0x0012C81C File Offset: 0x0012AA1C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 48U)
				{
					if (num != 56U)
					{
						if (num != 112U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.SkillId = input.ReadUInt32();
						}
					}
					else
					{
						this.Level = input.ReadUInt32();
					}
				}
				else
				{
					this.MOCKIOPKEKE = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04002ACC RID: 10956
		private static readonly MessageParser<KBFEOIAJLJC> _parser = new MessageParser<KBFEOIAJLJC>(() => new KBFEOIAJLJC());

		// Token: 0x04002ACD RID: 10957
		private UnknownFieldSet _unknownFields;

		// Token: 0x04002ACE RID: 10958
		public const int SkillIdFieldNumber = 14;

		// Token: 0x04002ACF RID: 10959
		private uint skillId_;

		// Token: 0x04002AD0 RID: 10960
		public const int MOCKIOPKEKEFieldNumber = 6;

		// Token: 0x04002AD1 RID: 10961
		private uint mOCKIOPKEKE_;

		// Token: 0x04002AD2 RID: 10962
		public const int LevelFieldNumber = 7;

		// Token: 0x04002AD3 RID: 10963
		private uint level_;
	}
}
